import Store from './Store'
import { LOGIN_TOKEN, USER_INFO } from "../constants/user"
import { PlainData } from '../utils/Data'

const userStore  = new Store({
  // 登录凭证
  [LOGIN_TOKEN]: '',
  // 用户信息
  [USER_INFO]: new PlainData({
    name: '',
    avatar: '',
    sex: '',
    sex_text:'',
    score: 0,
    balance: 0,
    orders:'',
    status_text:''
  }),
})

export default userStore
